﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JtextEpicsInterface
{
    //this hold some of the const that will used across JtextEpics and epicsJacket
    /// <summary>
    /// some const that are used
    /// </summary>
    public class CommonConst
    {
    #region DataType
    
        //this used in device type and sometime elsewhere 
        //genetic data type
        public const string DT_DOUBLE = "DOUBLE";   //record native array support
        public const string DT_INT = "INT";     //record native array support
        public const string DT_SBYTE = "SBYTE"; //record native array support

        public const string DT_INT16 = "INT16";//record native array support
        public const string DT_INT64 = "INT64";//record native array support
        public const string DT_BYTE = "BYTE";   //not supported
        public const string DT_STRING = "STRING";//not supported


        
        //used in device datatype only
        public const string DT_BYTEARRAY = "ByteArray";
        public const string DT_SBYTEARRAY = "SByteArray";
        public const string DT_INTARRAY = "IntArray";
        public const string DT_DOUBLEARRAY = "DoubleArray";
        public const string DT_JWAVE = "JWave"; //so far only used in autotransmeter, not a genetic data type


        public const string DR_INPUT="Input";
        public const string DR_OUTPUT = "Output";
    
    }
    #endregion
}
